projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9a8bd5
)
(trivially) stricter internal checking.
author
robertl
<robertl>
Tue, 31 Aug 2004 20:47:15 +0000
(20:47 +0000)
committer
robertl
<robertl>
Tue, 31 Aug 2004 20:47:15 +0000
(20:47 +0000)
sort.c
patch
|
blob
|
history
diff --git
a/sort.c
b/sort.c
index 446688ea319384c61b01ffbae53be63123a7c0c4..9a9a6b345b8b49527e7430c3cedcb06462b839f3 100644
(file)
--- a/
sort.c
+++ b/
sort.c
@@
-51,6
+51,7
@@
sort_comp(const void * a, const void * b)
case sm_gcid: return x1->gc_data.id > x2->gc_data.id;
case sm_shortname: return strcmp (x1->shortname, x2->shortname);
case sm_description: return strcmp (x1->description, x2->description);
+ default: abort(); /* Internal caller error. */
}
}